package com.topnav.mc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
import org.springframework.boot.autoconfigure.session.SessionAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * 说明：
 * @类名: Application
 *
 * @author   kenny
 * @Date	 2021年3月11日下午2:03:15
*/
@SpringBootApplication(exclude={
		//RedisAutoConfiguration.class,
		//RedisRepositoriesAutoConfiguration.class,
		SessionAutoConfiguration.class,
		KafkaAutoConfiguration.class
})
@ComponentScan(basePackages = {"com.topnav.mc","com.js.lib"})
@EnableOpenApi
@EnableScheduling
public class Application {

	public static void main(String[] args) {

		SpringApplication.run(Application.class, args);

		System.out.println("***********系统启动成功！******************");


	}
}
